home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue36 / resource / ResourceConstants.inc < prev    next >
Encoding:
Text File  |  1998-04-19  |  639 b   |  28 lines

  1. (* ResourceConstants.inc
  2.  *
  3.  * File included in both a Delphi application and a resource file
  4.  * Declares constant identifiers for resources
  5.  *)
  6.  
  7. const
  8.   (* Declare base identifiers for icons, bitmaps and string resources
  9.    * These base values can be anything in the range 0..32,767
  10.    *)
  11.   BitmapBase = 10000;
  12.   IconBase = 11000;
  13.   TxtBase = 12000;
  14.   UserBase = 13000;
  15.  
  16.   (* Declare constants for specific resources *)
  17.  
  18.   TxtHelloWorld = TxtBase + 1;
  19.   TxtMessage = TxtBase + 2;
  20.  
  21.   TomIcon = IconBase + 1;
  22.   JerryIcon = IconBase + 2;
  23.  
  24.   SeasetBitmap = BitmapBase + 1;
  25.  
  26.   ResourcesSourceCode = UserBase + 1;
  27.   
  28.